
#ifndef TestNext_h
#define TestNext_h
// Note 1
#include <cppunit/extensions/HelperMacros.h>
class NextTest : public CPPUNIT_NS::TestFixture // Note 2
{
CPPUNIT_TEST_SUITE( NextTest ); // Note 3
CPPUNIT_TEST( testConstructor );
CPPUNIT_TEST( testSetNext );
CPPUNIT_TEST( testGetSuccessor );
CPPUNIT_TEST( testGetPredecessor );
CPPUNIT_TEST( testHasSuccessor );
CPPUNIT_TEST( testHasPredecessor );
CPPUNIT_TEST( testIsNext );
CPPUNIT_TEST( testSetNextBitMap );
CPPUNIT_TEST_SUITE_END();
public:
void setUp();
void tearDown();
// method to test the constructor
void testConstructor();

void testSetNext();
void testGetSuccessor();
void testGetPredecessor();
void testHasSuccessor();
void testHasPredecessor();
void testIsNext();
void testSetNextBitMap();
};
#endif